-
-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial Android support attempt #372
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have seen nothing obvious in the trace not in the code for now. I did a few comment, check them please.
@@ -368,6 +371,13 @@ set(WRAPPEDS | |||
"${BOX86_ROOT}/src/wrapped/wrappedldlinux.c" | |||
"${BOX86_ROOT}/src/wrapped/wrappedcrashhandler.c" | |||
) | |||
if(NOT ANDROID) | |||
set(WRAPPEDS | |||
"${BOX86_ROOT}/src/wrapped/wrappedlibjpeg.c" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libjpeg is used by wine, so thisone will need to be added at some point
@@ -138,7 +138,7 @@ GO("libtiff.so.5", libtiff) | |||
|
|||
#ifdef ANDROID | |||
GO("libc.so", libc) | |||
GO("libm.so", libc) | |||
GO("libm.so", libm) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes, that will help things!
It looks like wine 6.3 works with Dynarec off! (I only tested cmd.exe because I don't think the downloadable Android wine builds use X11) I'm not sure why newer versions of wine fail to start wineboot or why Dynarec causes SIGILL, but it's progress. |
Ok, thanks. Is it ready to merge or do you still have some stuff you want to do before? |
I think it's ready. I squashed the commits so the gnulib file isn't in the history. |
I've been trying to port Box86 to Android to run the x86 Android version of Wine. I've gotten pretty far and it mostly works now, but wineboot fails with an internal error. It would be great if you could look over this PR and see if there are any obvious problems with it.
CMake flags:
Wine version used: https://dl.winehq.org/wine-builds/android/wine-6.5-x86.apk
Normal log:
Log with
WINEDEBUG=+all
:log1.txt
Log with
WINEDEBUG=+all BOX86_LOG=2
:log2.txt